//using System.Web.Http;
//using Microsoft.Practices.Unity;
//using Cdn.Blogger.Models;

//namespace Cdn.Blogger
//{
//    public static class Bootstrapper
//    {
//        public static void Initialise()
//        {
//            var container = BuildUnityContainer();

//            GlobalConfiguration.Configuration.DependencyResolver = new Unity.WebApi.UnityDependencyResolver(container);
//        }

//        private static IUnityContainer BuildUnityContainer()
//        {
//            var container = new UnityContainer();          
//            container.RegisterType<IBlogRepository, BlogRepository>();
//            container.RegisterType<IPostingRepository, PostingRepository>();  
//            return container;
//        }
//    }
//}